from random import*
from graph import*
x0 = 200;x1=-7;x2=5;
y0 = 250;y1=-8;y2=5;
line(x0+x1,y0+y1,x0+x2,y0+y1)
line(x0+x2,y0+y1,x0+x2,y0+y2)
line(x0+x2,y0+y1,x0+x2,y0+y2)
line(x0+x1,y0+y1,x0+x2,y0+y1)
penColor("green")
penSize(3)
N=int(input("кол-во выстрелов"))
c=0
for i in range(N):
    x=randint(0,250)
    y = randint(50,350)
    point(x,y)
    if x>200 and y<250:

        c+=1
print(c)
run()